body {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  background-size: cover;
  backdrop-filter: blur(50px);
  overflow: hidden;
}
/* 上半部分 */
.upper-container {
  width: 80%;
  height: 80%;
  padding-left: 10%;
}
.record-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 100%;

  float: left;
}
.record-bg {
  background-color: black;
  /* 居中对齐 */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 500px;
  border-radius: 500px;
}
.rotate-play {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../img/record1.jpg");
  background-size: 100% 100%;
  width: 250px;
  height: 250px;
  border-radius: 250px;
}
.introduction-container {
  width: 50%;
  height: 100%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
}
.text-container {
  width: 80%;
  padding-left: 20%;
}
.music-title {
  color: white;
  font-size: 4rem;
}
.author-container {
  color: white;
  font-size: medium;
}

/* 下半部分 */
.audio-box {
  width: 100%;
  height: 20%;

  display: flex;
  justify-content: center;
  align-items: center;
}
.audio-container {
  width: 90%;
}
/* 进度条 */
.a-progress {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.pgs-total {
  width: 100%;
  height: 16px;

  position: relative;
}
.pgs-play {
  width: 0%;
  height: 100%;
  border-radius: 10px;
  background-color: green;
}
.a-progress .pgs-play::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  right: 0;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
}
.a-progress .pgs-total::after {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  right: 0;
  background-color: #bbb;
  border-radius: 10px;
  z-index: -1;
}
.time-container {
  float: left;
  width: 30%;
  color: white;
  font-weight: 300;
}
.center-btn-container {
  width: 40%;
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  margin-left: 10px;
}
.center-icon:hover {
  opacity: 0.7;
}
.center-icon:active {
  opacity: 0.6;
}
.mode {
  background-image: url("../img/mode1.png");
  background-size: 100% 100%;
}
.s-left {
  background-image: url("../img/上一首.png");
  background-size: 100% 100%;
}
.s-right {
  background-image: url("../img/下一首.png");
  background-size: 100% 100%;
}
.icon-play {
  width:50px;
  height:50px;
  background-image: url("../img/继续播放.png");
  background-size: 100% 100%;
}
.icon-pause {
  width:50px;
  height:50px;
  background-image: url("../img/暂停.png");
  background-size: 100% 100%;
}

.volumn {
  background-image: url("../img/音量.png");
  background-size: 100% 100%;
}

#volumn-togger {
  width: 100px;
  height: 5px;
  appearance: none;
  background-color: #dcdcdc;
  border-radius: 15px;
  box-shadow: inset 0 0 5px rgb(91, 91, 91);
  overflow: hidden;
}
#volumn-togger::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1px;
  height: 5px;
  border-radius: 15px;
  background-color: green;
  box-shadow: -407px 0 0 400px green;
}

.bottom-btn-container {
  float: right;
  width: 30%;
  padding-top: 10px;
}
.bottom-icon {
  float: right;
  width: 30px;
  height: 30px;
  margin: 0 10px;
}
.bottom-icon:active {
  opacity: 0.6;
  cursor: pointer;
}
.bottom-icon:hover {
  opacity: 0.7;
  cursor: pointer;
}
.list {
  background-image: url("../img/列表.png");
  background-size: 100% 100%;
}

.speed {
  float: right;
  color: wheat;
  font-weight: 300;
  margin: 0 10px;
}
.MV {
  background-image: url("../img/MV.png");
  background-size: 100% 100%;
}

.close-list {
  display: none;
  position: fixed;
  width: 75%;
  height: 100%;
  background-color: transparent;
  top: 0;
  left: 0;
}

/* 播放列表 */
.music-list {
  display: none;
  height: 100%;
  width: 25%;
  background-color: black;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2;
}
.music-list-container {
  width: 100%;
}
.music-list-title {
  display: flex;
  justify-self: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  padding: 10% 15% 0 15%;
}
.line {
  width: 70%;
  height: 1px;
  border: none;
  border-top: 1px dashed white;
}
.all-list div {
  height: 50px;
  color: white;
  font-weight: 300;
  padding: 0 15%;
}
.all-list div:hover {
  background-color: gray;
  cursor: pointer;
}

.list-card-show {
  animation: showAni 1s linear;
  animation-fill-mode: forwards;
}

.list-card-hide {
  animation: hideAni 1s linear;
  animation-fill-mode: forwards;
}

/* 音乐列表展开 */
@keyframes showAni {
  /* 初始状态 */
  from {
    transform: translateX(100%);
  }
  /* 动画结束状态 */
  to {
    transform: translateX(0);
  }
}

/* 音乐列表回收 */
@keyframes hideAni {
  /* 初始状态 */
  from {
    transform: translateX(0);
  }
  /* 动画返回状态 */
  to {
    transform: translateX(100%);
  }
}

@keyframes rotateAni{
    from{
        transform: rotate(0);
    }
    to{
        transform: rotate(360deg);
    }
}

.rotate-play{
    animation: rotateAni 10s  infinite linear;
    animation-play-state: paused;
    animation-fill-mode:  forwards;
}
